<template>
  <div class="page-tools">
    <div class="container">
      <div class="left">
        <i class="el-icon-info" />
        <!-- <span>共16条记录</span> -->
        <slot name="left">
          共16条记录
        </slot>
      </div>
      <div class="right">
        <slot name="right">右侧内容</slot>
      </div>
    </div>
  </div>
</template>
<style lang="scss" scoped>
.container {
    display: flex;
    justify-content: space-between;
    width: 95%;
    padding: 10px;
    margin: 10px auto;
    // background-color: #ccc;
    border: 1px solid #ccc;
    border-radius: 5px;

    .left {
        // flex: 1 1 40%;
        background-color: #e6f7ff;
        padding: 8px;
        border: 1px solid #91d5ff;
        i.el-icon-info{
            color: #1f99e4;
        }
        span {
            margin-left: 10px;
        }
    }
    .right {
        // flex: 1 1 50%;
        // background-color: green;
    }
}
</style>
